package com.jichangxiu.dynamic.test.service;

import com.jichangxiu.dynamic.test.entity.Monster;

import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;

/**
 * @author Jcx
 * @date 2022/11/26 21:33
 */
public interface MonsterService extends BaseService<Monster> {

    public Future<Boolean> saveMonster(Monster monster);

    /**
     * 查询 Monster 列表
     *
     * @return Monster 列表
     */
    public CompletableFuture<List<Monster>> myList();

}
